package com.carpedil.shirodemo.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.carpedil.shirodemo.system.model.Menu;
import com.carpedil.shirodemo.system.model.Operator;

import java.util.List;

/**
 * 服务类
 *
 * @author carpedil
 * @since 2021-01-05
 */
public interface IOperatorService extends IService<Operator> {
  List<Menu> getAllMenuAndOperatorTree();

  void insert(Operator operator);

  void updateOperator(Operator operator);

  void deleteById(Integer operatorId);
}
